<h3>Nhân viên: <?php echo $user->getName(); ?></h3>
<h4>Tháng <?php echo $month; ?> năm <?php echo $year; ?> </h4>

<table class="table table-striped table-bordered table-condensed">
    <thead>
        <tr>
            <th>Ca đi làm</th>
            <th>Số buổi đi làm</th>
            <th>Số buổi nghỉ có lương</th>
            <th>Số lương</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($workshifts as $ws): ?>
            <tr>
                <td><?php echo $ws->title ?></td>
                <td><?php echo $result->present[$ws->workshift_id]; ?></td>
                <td><?php echo $result->paid[$ws->workshift_id]; ?></td>
                <td><?php echo $result->paid_detail[$ws->workshift_id]; ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>